home *** CD-ROM | disk | FTP | other *** search
- TITLE: Complete attribute bytes table
-
-
- *** System Prompt *** { } = optional
-
- paraphrased from ch 2 (DOS Commands), DOS (2.10) Reference manual
-
- format: PROMPT {meta-string}{text}... (any combination)
-
- defined meta-strings:
-
- (nul) normal prompt ($n$g) $n Default drive letter
- $b "|" character $p current dir & default drive
- $d date $q "=" character
- $e ASCII ESCape character $t time
- $g ">" character $v DOS version number
- $h backspace and erase $$ "$" character
- $l "<" " $- ASCII CR LF sequence
-
- (Note that the $e meta-string allows us to use any of the
- following extended screen/keyboard control sequences.)
-
- *** Extended Screen Control ***
-
- paraphrased from ch 2 (Extended Screen & Keyboard Commands),
- DOS Technical Reference (IBM#1502346)
-
- Notes:
- 1. The control sequences are effective only if ANSI.SYS has
- been installed.
- 2. They can be issued thru any DOS function call that can
- write to the standard output device.
- 3. Default values are used if null or 0 parameters are used.
-
- Esc[#;#H CUrsor Positioned @ line;column (default is 1)
- Esc[#;#f " " ( " )
- Esc[#A " Up # lines ( " )
- Esc[#B " Down # " ( " )
- Esc[#C " Forward # columns ( " )
- Esc[#D " Backward # " ( " )
- Esc[s Save Cursor Position
- Esc[u Restore Cursor Position
- Esc[#;#R Cursor Position Report reports line;column
- Esc[6n Device Status Report outputs Esc[#;#R
- Esc[2J Erase Display & cursor home (1;1)
- Esc[k Erase Line from cursor to eol
- Esc[#;...;#m Set Graphics Rendition
-
- attribute foreground background
- 0 all atr off (wh on bk) 30 black 40 black
- 1 hi intensity 31 red 41 red
- 4 underline (mono only) 32 green 42 green
- 5 blink 33 yellow t43 yellow
- 7 reverse video 34 blue 44 blue
- 8 invisible 35 magenta 45 magenta
- 36 cyan 46 cyan
- 37 white 47 white
- Esc[=#h Set Mode (default is 0)
- Esc[=#I Reset Mode ( " )
- Black & White Color
- 0 40x25 1 40x25
- 2 80x25 3 80x25
- 4 320x200 5 320x200
- 6 640x200
- (also see MODE, option 2 in DOS reference manual)
-
- Esc[=7h Word-wrap on
- Esc[?7h " on
- Esc[=7I " off
- Esc[?7I " off
-
- *** Extended Keyboard (Reassignment) *** { } = optional
-
- If first # is 0 (NUL) "then first & second code make
- up an extended ASCII re-definition"
- Else first # is the (dec) ASCII code being mapped.
-
- Esc[{#;}{"string";}...........#p (any combination of decimal
- Esc[{#;}{"string";}..."string";p numbers and strings)